package com.sfx.算法专题.链表.链表相加;

/**
 * Created with IntelliJ IDEA.
 * Description: <a href="https://www.lintcode.com/problem/904/">...</a>
 * User: sfx
 * Date: 2023-08-03
 * Time: 22:58
 */
public class Code_3_plusOne {
    static class ListNode {
        int val;
        ListNode next;

        ListNode(int x) {
            val = x;
            next = null;
        }
    }

    /**
     * Definition for ListNode
     * public class ListNode {
     *     int val;
     *     ListNode next;
     *     ListNode(int x) {
     *         val = x;
     *         next = null;
     *     }
     * }
     */
    static class Solution {
        /**
         * @param head: the first Node
         * @return: the answer after plus one
         */
        public ListNode plusOne(ListNode head) {
            // Write your code here
            return null;
        }
    }
}